<?php
/* @var $this SiteController */

    $this->pageTitle=Yii::app()->name;
?>

<h1><i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
<?php
    Yii::app()->language=Yii::app()->session['language'];
?>

<?php if(Yii::app()->user->isGuest){ ?>
    <p>
        Teatralmente Gioia Inventory is a free software released under GNU/GPL v3 license; see 
        <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank" title="GNU/GPL v3">http://www.gnu.org/copyleft/gpl.html</a>.
    </p>

    <p>
        To start using this software you must enter in, click <?php echo CHtml::link('Here',array('site/login')); ?>.
    </p>
 <?php }else{ ?>
    <p>Welcome on Teatralmente Gioia Inventory, <b><i><?php echo Yii::app()->user->name; ?></i></b></p>
    <p>You can insert, update or delete the elements that there are in the database.</p>
 <?php } ?>